export function sensitivePhone(phone) {
	try {
		// 检查输入是否为空或仅包含空白字符
		if (!phone || phone.trim() === '') {
			return null;
		}
		// 返回脱敏后的手机号
		return phone.substring(0, 3) + "****" + phone.substring(7);
	} catch (e) {
		console.warn('脱敏失败：', phone, e);
		return phone;
	}
}
